//
//  UIView+Gesture.h
//  HYSmileiOS
//
//  Created by SMC-MAC on 16/5/16.
//  Copyright © 2016年 heyou. All rights reserved.
//

#import <UIKit/UIKit.h>

/**
 *  手势回调Block
 */
typedef void (^HandleGestureBlock)();

@interface UIView (Gesture)

/**
 *  给UIView添加手势处理Block
 *
 *  @param action block代码
 */
- (void) handleSingleTapWithBlock:(HandleGestureBlock)action;

/**
 *  给UIView添加手势处理Block
 *
 *  @param action block代码
 */
- (void) handleDoubleTapWithBlock:(HandleGestureBlock)action;

@end
